package com.jsyl.entity.authority;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 * 
 * @author
 *
 */
@Entity(table = "schedule_child_projects")
public class ScheduleChildProjects extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 2197491254490089406L;

	/**
	 * 主键ID
	 */
	@Id
	@Column("id")
	private Integer  id;

	@Column("schedule_id")
	private Integer scheduleId;

	@Column("course_type")
	private Integer courseType;

	@Column("child_id")
	private Integer childId;

	@Column("projects")
	private String projects;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@Column("create_time")
	private Date createTime;

	@Override
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getScheduleId() {
		return scheduleId;
	}

	public void setScheduleId(Integer scheduleId) {
		this.scheduleId = scheduleId;
	}

	public Integer getCourseType() {
		return courseType;
	}

	public void setCourseType(Integer courseType) {
		this.courseType = courseType;
	}

	public Integer getChildId() {
		return childId;
	}

	public void setChildId(Integer childId) {
		this.childId = childId;
	}

	public String getProjects() {
		return projects;
	}

	public void setProjects(String projects) {
		this.projects = projects;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
